LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)

TryGetValue Method (DictionaryWithEvents<TKey,TValue>)

Show in webframe






The key of the value to get.
When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Gets the value associated with the specified key.
Syntax
public bool TryGetValue( 
   TKey key,
   out TValue value
)
'Declaration
 
Public Function TryGetValue( _
   ByVal key As TKey, _
   ByRef value As TValue _
) As Boolean
'Usage
 
Dim instance As DictionaryWithEvents(Of TKey,TValue)
Dim key As TKey
Dim value As TValue
Dim value As Boolean
 
value = instance.TryGetValue(key, value)

            

            
public: bool TryGetValue( 
   TKey* key,
   [PARAMFLAG::Out] TValue* value
) 
public:
bool TryGetValue( 
   TKey* key,
   [Out] TValue* value
) 

Parameters

key
The key of the value to get.
value
When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Return Value

true if the DictionaryWithEvents<TKey,TValue> contains an element with the specified key; otherwise, false.
Requirements

Target Platforms

See Also

Reference

DictionaryWithEvents<TKey,TValue> Class
DictionaryWithEvents<TKey,TValue> Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.